package com.sztle.admodule.control;

import com.sztle.admodule.someutils.SPUtils;

public class AppInfoManager {
    public static final String IS_AGREE_POLICY = "AGREEPOLICY";
    public static boolean isMainExist = false;

    public static boolean isHomeActivityExist() {
        return isMainExist;
    }

    public static void setHomeActivityExist(boolean isMainExist) {
        AppInfoManager.isMainExist = isMainExist;
    }


    public static boolean isUserAgree(){
        return SPUtils.getInstance().getBoolean(IS_AGREE_POLICY,false);
    }

    public static void userAgreePolicy(){
        SPUtils.getInstance().put(IS_AGREE_POLICY,true);
    }
}
